package
{
	import flash.display.Sprite;
	
	public class BoatMenu extends Sprite
	{

		public function About()
		{
			
		}
		
		public function center(w:int, h:int):void{
			centerVertically(w);
			centerHorizontally(h);
		}
		
		public function centerVertically(w:int):void{
			this.x = (w - this.width) / 2;
		}
		
		public function centerHorizontally(h:int):void{
			this.y = (h - this.height) / 2;
		}
	}
}